package com.dev.security.manager.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author 潜行的青衣
 * @see
 */
@Embeddable
public class AccountRoleUnitId implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3756292586321078582L;

	@Column(name="account_id", length = 50)
	private String account_id;
	
	@Column(name="role_id", length = 50)
	private String role_id;
	
	public AccountRoleUnitId() {}
	
	public AccountRoleUnitId(String account_id, String role_id) {
		this.account_id = account_id;
		this.role_id = role_id;
	}

	public String getAccount_id() {
		return account_id;
	}

	public void setAccount_id(String account_id) {
		this.account_id = account_id;
	}

	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}
	
}
